package com.alks.function.data.dto.pcfactoryquery;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Setter
@Getter
@NoArgsConstructor
public class PartStockHeadDto {

    private String typeName;

    @ApiModelProperty(value = "材料编号")
    private String mtlNo;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "入库时间")
    private LocalDateTime inDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "发料时间")
    private LocalDateTime outDate;

    @ApiModelProperty(value = "入库数量")
    private BigDecimal inQty;

    @ApiModelProperty(value = "发料数量")
    private BigDecimal outQty;

    @ApiModelProperty(value = "库存数量")
    private BigDecimal stockQty;

    private BigDecimal price;

    private BigDecimal amt;

}
